/** @format */

.sticky,
.fixed {
    right: 0;
    left: 0;
    z-index: 1;
    background: #fff;
}

.sticky {
    position: sticky;
    top: var(--window-top);
}

.fixed {
    position: fixed;

    &.bottom {
        bottom: 0;
        padding-bottom: constant(safe-area-inset-bottom);
        padding-bottom: env(safe-area-inset-bottom);
    }
}
